
package com.cainli.task;

public interface TaskCallback<T>
{
    void succeeded(T result);
    void interrupted(InterruptedException e);
    void cancelled();
    void failed(Throwable cause);
}